package com.tqz.zookeeper.order;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author <a href="https://github.com/tian-qingzhao">tianqingzhao</a>
 * @since 2025/9/7 16:41
 */
@RestController
@RequestMapping("order")
public class OrderController {

    @Autowired
    private ProductFeignService productFeignService;

    @GetMapping("get")
    public String get() {
        return productFeignService.getById(1);
    }
}
